package Game;

import java.awt.Graphics2D;

public class Congrats extends Scene
{
	final int maxTime;
	float c;
	
	public Congrats()
	{
		System.out.println("Congrats");
		maxTime = 200;
		background = new GameImage(32, 13, "/Images/congrats_bg.png");
	}
	
	@Override
	public void Update() 
	{
		c++;
		
		if(c >= maxTime )
		{
			SceneManager.ChangeScene();
		}
	}

	@Override
	public void Draw(Graphics2D g2d) 
	{
		background.Draw(g2d);
	}
}
